package com.lmf.tool;

import com.lmf.entity.Area;

import java.util.List;

public class DataDto {
    private int per_page;
    private int total;
    private List<Area> data;

    public DataDto() {
    }

    public DataDto(int per_page, int total, List<Area> data) {
        this.per_page = per_page;
        this.total = total;
        this.data = data;
    }

    public int getPer_page() {
        return per_page;
    }

    public void setPer_page(int per_page) {
        this.per_page = per_page;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<Area> getData() {
        return data;
    }

    public void setData(List<Area> data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "DataDto{" +
                "per_page=" + per_page +
                ", total=" + total +
                ", data=" + data +
                '}';
    }
}
